#pragma  once

#include <string>

#define EXPORT_API __attribute__ ((visibility ("default")))

extern "C" {

    EXPORT_API bool createPushService();
    EXPORT_API const uint8_t * getUrlFromPushService();
    EXPORT_API bool setVideoInfoForPushService(int width,int height,int fps,float bitrate);
    EXPORT_API bool pushVideoDataForPushServiceWithYUVData(uint8_t* pData,int width,int height);
    EXPORT_API bool pushVideoDataForPushServiceWithRGBAData(uint8_t* pData,int width,int height);
    EXPORT_API bool pushVideoDataForPushServiceWithBGRAData(uint8_t* pData,int width,int height);
    EXPORT_API void releasePushService();
    EXPORT_API const uint8_t * getPushServiceVersion();

}
